package cn.piesat.springsecurity.base;

public interface BaseCodeEnum {
    String getCode();

    String getMessage();

    String toJSONString();

    default int code() {
        return Integer.valueOf(this.getCode());
    }
}
